package com.ado.bazinga.core.manager.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ado.bazinga.core.dal.dao.UserMapper;
import com.ado.bazinga.core.dal.entity.User;
import com.ado.bazinga.core.manager.UserManager;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 *@author adonais
 *@date 2020年3月20日
 *@description UserManagerImpl.java
**/
@Service(value = "userManager")
public class UserManagerImpl extends ServiceImpl<UserMapper, User> implements UserManager{

	
	@Autowired
	private UserMapper userMapper ;

	@Override
	public User findUserByEmail(String email) {
		return userMapper.findUserByEmail(email);
	}
}
